package com.lck.blogmanager.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lck.blogmanager.common.BasePageReq;
import com.lck.blogmanager.entity.TagEntity;
import com.lck.blogmanager.req.AddTagReq;
import com.lck.blogmanager.req.DeleteTagReq;

import java.util.List;

public interface TagService extends IService<TagEntity> {

    Integer addTag(AddTagReq req);

    void deleteTag(DeleteTagReq req);

    Page<TagEntity> listTag(BasePageReq req);

    List<TagEntity> getQuestionTag();

    List<TagEntity> getBlogTag();


}
